package com.castle.fortress.admin.pay.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * 支付宝支付配置表 实体类
 *
 * @author castle
 * @since 2022-07-07
 */
@Data
@ApiModel(value = "payAliConfig对象", description = "支付宝支付配置表")
public class PayAliConfigDto implements Serializable {
	private static final long serialVersionUID = 1L;
	@JsonSerialize(using = ToStringSerializer.class)
	@ApiModelProperty(value = "主键")
	@JsonProperty("id")
	private Long id;
	@ApiModelProperty(value = "appId")
	@JsonProperty("appId")
	private String appId;
	@ApiModelProperty(value = "私钥")
	@JsonProperty("privateKey")
	private String privateKey;
	@ApiModelProperty(value = "公钥")
	@JsonProperty("aliPayPublicKey")
	private String aliPayPublicKey;
	@ApiModelProperty(value = "支付完成后的异步通知地址")
	@JsonProperty("notifyUrl")
	private String notifyUrl;
	@ApiModelProperty(value = "支付完成后的同步返回地址")
	@JsonProperty("returnUrl")
	private String returnUrl;
	@ApiModelProperty(value = "支付类别")
	@JsonProperty("payTypeCode")
	private String payTypeCode;
	@ApiModelProperty(value = "支付类别名称")
	@JsonProperty("payTypeName")
	private String payTypeName;
	@ApiModelProperty(value = "场景编码")
	@JsonProperty("sceneCode")
	private String sceneCode;
	//1 启用 2 禁用 3 不可用
	@JsonProperty("status")
	private Integer status;

}
